package com.ruoyi.agent.service;

import java.util.List;
import com.ruoyi.agent.domain.KwMachineAgent;

/**
 * 主机运行AgentService接口
 * 
 * @author gonianer
 * @date 2023-11-20
 */
public interface IKwMachineAgentService 
{
    /**
     * 查询主机运行Agent
     * 
     * @param id 主机运行Agent主键
     * @return 主机运行Agent
     */
    public KwMachineAgent selectKwMachineAgentById(Long id);

    /**
     * 查询主机运行Agent列表
     * 
     * @param kwMachineAgent 主机运行Agent
     * @return 主机运行Agent集合
     */
    public List<KwMachineAgent> selectKwMachineAgentList(KwMachineAgent kwMachineAgent);
    public KwMachineAgent selectKwMachineAgent(Long machineId);

    /**
     * 新增主机运行Agent
     * 
     * @param kwMachineAgent 主机运行Agent
     * @return 结果
     */
    public int insertKwMachineAgent(KwMachineAgent kwMachineAgent);

    /**
     * 修改主机运行Agent
     * 
     * @param kwMachineAgent 主机运行Agent
     * @return 结果
     */
    public int updateKwMachineAgent(KwMachineAgent kwMachineAgent);

    /**
     * 批量删除主机运行Agent
     * 
     * @param ids 需要删除的主机运行Agent主键集合
     * @return 结果
     */
    public int deleteKwMachineAgentByIds(Long[] ids);

    /**
     * 删除主机运行Agent信息
     * 
     * @param id 主机运行Agent主键
     * @return 结果
     */
    public int deleteKwMachineAgentById(Long id);
}
